#include "StdAfx.h"
#include "CriticalSectionLock.h"


CriticalSectionLock::CriticalSectionLock(void)
{
	//::InitializeCriticalSection(&m_cs);
	m_mutex = ::CreateMutex(NULL, FALSE, NULL);
}

CriticalSectionLock::~CriticalSectionLock(void)
{
	//::DeleteCriticalSection(&m_cs);
	::CloseHandle(m_mutex);
}
